﻿<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>@ViewBag.Title</title>
        <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
        <meta name="viewport" content="width=device-width" />
        
        @Scripts.Render("~/bundles/modernizr")
        @Styles.Render("~/Content/themes/base/css", "~/Content/css")
        
    </head>
    <body>
        <header>
            <div class="content-wrapper">
                    <img id="logo" src="@Url.Content("~/images/GoDinnerHor.png")" />
                <div class="float-right">
                    <section id="login">
                        @Html.Partial("_LoginPartial")
                    </section>
                    <nav>
                        <ul id="menu">
                            <li>@Html.ActionLink("Home", "Index", "Home")</li>
                            <li>@Html.ActionLink("Over ons", "OverOns", "Home")</li>
                            <li>@Html.ActionLink("Menukaart", "Menukaart", "Home")</li>
                            <li>@Html.ActionLink("Reserveren", "Order", "Reservation")</li>
                            <li>@Html.ActionLink("Contact", "Contact", "Home")</li>     
                                 
                            @if(User.IsInRole("Admin"))
                                {
	                                <li>@Html.ActionLink("Gerechten", "OverzichtGerechten", "Gerechten")</li>
                                    <li>@Html.ActionLink("Gebruikers","OverzichtGebruikers","Gebruikers")</li>
                                    <li>@Html.ActionLink("Reserveringen", "OverzichtOrders", "Reservation")</li>
                                }             
                        </ul>
                    </nav>
                </div>
            </div>
        </header>   
            
        <div id="body">
            <div id="picture" style="background:url(@Url.Content("~/images/restaurant1.jpg")); height:300px;  background-size:cover;"></div>
            <!--<img id="picture" src="@Url.Content("~/images/restaurant1.jpg")" />-->
            
            @RenderSection("featured", required: false)
            <section class="content-wrapper main-content clear-fix">
                @RenderBody()
            </section>
        </div>
        <footer>
            <div class="content-wrapper">
                <div class="float-left">
                    <p>&copy; @DateTime.Now.Year - GoDinner</p>
                </div>
            </div>
        </footer>

        @Scripts.Render("~/bundles/jquery")
        @Scripts.Render("~/bundles/jqueryui")
        @Scripts.Render("~/scripts/jquery.browser.js")
        
        @RenderSection("scripts", required: false)
    </body>
</html>
